# -*- coding:utf-8 -*-
# --author： jingfeng 
# time: 2018/12/12



from qqbot import QQBotSlot as qqbotslot, RunBot


@qqbotslot
def onQQMessage(bot, contact, member, content):
    print(bot.List())
    # if content == '-hello':
    #     print(contact.buddy)
    #     #bot.SendTo(, '你好，我是QQ机器人')
    # elif content == '在':
    #     # bot.SendTo(contact, '我一直在呢，嘻嘻')
    #     pass
    #
    # elif content == '-stop':
    #
    #     bot.SendTo(contact, 'QQ机器人已关闭')
    #     bot.Stop()


if __name__ == '__main__':
    RunBot()


